﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="uc-timkiem.ascx.cs"
    Inherits="Hyunhdai_Saigon_Project.uc.uc_timkiem" %>
<div id="timkiemxe">
    <div class="tkx-header">
        <img src="assets/images/timkiemxe.gif" />
        <table>
            <tr>
                <td>
                    <asp:DropDownList ID="drbHangXe" runat="server" Width="200px" DataSourceID="SqlDataSource1"
                        DataTextField="name" DataValueField="id">
                    </asp:DropDownList>
                    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:hyundaisaigonConnectionString %> " 
                        SelectCommand="SELECT [id], [name] FROM [nhasanxuat]"></asp:SqlDataSource>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:DropDownList ID="drbDongXe" runat="server" Width="200px" 
                        DataSourceID="SqlDataSource2" DataTextField="name" DataValueField="id">
                    </asp:DropDownList>
                    <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
                        ConnectionString="<%$ ConnectionStrings:hyundaisaigonConnectionString %>" 
                        SelectCommand="SELECT * FROM [dongxe]"></asp:SqlDataSource>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:DropDownList ID="drbDoiXe" runat="server" Width="200px" 
                        DataSourceID="SqlDataSource3" DataTextField="nam" DataValueField="id">
                        <asp:ListItem Value="Chọn Đời Xe"></asp:ListItem>
                        <asp:ListItem Value="2011"></asp:ListItem>
                        <asp:ListItem Value="2010"></asp:ListItem>
                        <asp:ListItem Value="2009"></asp:ListItem>
                        <asp:ListItem Value="2008"></asp:ListItem>
                    </asp:DropDownList>
                    <asp:SqlDataSource ID="SqlDataSource3" runat="server" 
                        ConnectionString="<%$ ConnectionStrings:hyundaisaigonConnectionString %>" 
                        SelectCommand="SELECT * FROM [doixe]"></asp:SqlDataSource>
                </td>
            </tr>
            <%--    <tr>
                                <td style="padding-left:40px">
                                    Giá từ:
                                    <asp:TextBox ID="txtGiaTu" runat="server" Text="0" Width="30px"></asp:TextBox>
                                    Đến:
                                    <asp:TextBox ID="TxtGiaDen" runat="server" Width="30px"></asp:TextBox>
                                    USD
                                </td>
                            </tr>--%>
            <tr>
                <td style="padding-left: 80px;">
                    <asp:Button ID="btnTimKiem" runat="server" Text="Tìm Nhanh" OnClick="TimNhanh_Click" />
                </td>
            </tr>
        </table>
    </div>
</div>
